package com.allwees.bs.module.scm.wf;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.allwees.core.common.constant.EStatus;
import com.allwees.core.wf.Action;

/**
 * scm 供应商动作
 *
 * @author mouhaininf
 * @since 2019-12-05
 *
 */
public enum EScmShippingOrderAction implements Action, IEnum<String> {

	//SUPPLIER ACTION
	SUPPLIER_WAIT_ENTER_WAREHOUSE("待入仓", EStatus.SCM_WAIT_ENTER),
	//end of SUPPLIER ACTION

	// PLATFORM ACTION
	PLATFORM_ENTERING_WAREHOUSE("部分入仓", EStatus.SCM_ENTERING),
	PLATFORM_ALL_REFUND("所有退货", EStatus.REFUND),
	PLATFORM_ENTERED_WAREHOUSE("全部入仓", EStatus.NORMAL),


	//end of PLATFORM ACTION
;

	private String desc;
	private EStatus afterActionStatus;

	@Override
	public String getValue() {
		return name();
	}

	EScmShippingOrderAction(String desc, EStatus afterActionStatus) {
		this.desc = desc;
		this.afterActionStatus = afterActionStatus;
	}

	public String desc() {
		return desc;
	}

	public EStatus afterActionStatus() {
		return afterActionStatus;
	}
}
